define(["app","controllers/usersetting/UserSettingController"], function (app) {

    var deps = ["$modal"];
    
    function setPassword($modal) {
         return {        
              scope:{
              },        	  
        	  link: function ($scope, elem, attrs) {
        		  elem.on("click",function(){        			
        			  var modalInstance = $modal.open({
        				    templateUrl:"views/usersetting/SetPassword.html",
                			controller:"UserSettingController",
                			backdrop : "static",
                            keyboard: false
            		  });
        			  
            		  modalInstance.result.then(function (data){
            			  
            		  });  
        		  });
        	 }
         };
    }

    setPassword.$inject = deps;
    return app.lazy.directive("fcSetPassword", setPassword);
});